package com.zerui.manager.common.mq.consumer;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
/**
 * @Author wh
 * @create_time 2023-08-23 15:28
 */
@Getter
@Setter
@ToString
public class IotAccessRecordMessage {

    private String deviceId;
    private String deviceName;
    private String deviceType;
    private String time;
    private  Record data;

    @Getter
    @Setter
    @ToString
    public static class Record{

        private String recordId;
        private String personId;
        private String personName;
        private String passResult;
        private Integer recordType;
        private String recordTime;

    }

}
